package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ClassInfo;
import cn.wolfcode.crm.query.ClassInfoQuery;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClassInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClassInfo record);

    ClassInfo selectByPrimaryKey(Long id);

    List<ClassInfo> selectAll();

    int updateByPrimaryKey(ClassInfo record);

    List<ClassInfo> selectForList(ClassInfoQuery qo);

    void deleteRelation(Long id);

    void insertRelation();

    void insertRelation(@Param("classInfo_id") Long id, @Param("employee_id") Long employee_id);
}